package com.cl.base.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cl.base.entity.SysMenu;
import com.cl.base.service.SysMenuService;
import com.cl.base.mapper.SysMenuMapper;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.List;

/**
 * @author KuroNeko
 * @description 针对表【sys_menu(菜单权限表)】的数据库操作Service实现
 * @createDate 2022-07-01 17:48:12
 */
@Service
public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> implements SysMenuService {

    @Override
    public List<String> findPermissionByMenuIds(Collection<Long> menuIds) {
        return this.baseMapper.findPermissionByMenuIds(menuIds);
    }
}




